<?php

require_once ('CoreTagWithLang.php');

class Font extends CoreTagWithLang {
    protected $color;
    protected $face;
    protected $size;

    public function __construct()
    {
        parent::__construct("font");
        $this->color="";
        $this->face="";
        $this->size="";
        $this->attributeNames=array_merge($this->attributeNames,array('color','face','size'));
        $this->attributeValues=array_merge($this->attributeValues,array('','',''));
    }

    public function setColor($_color)
    {
        $this->color=(string)$_color;
        $this->setAttributeValue('color',$_color);
    }

    public function getColor()
    {
        return $this->color;
    }

    public function setFace($_face)
    {
        $this->face=(string)$_face;
        $this->setAttributeValue('face', $_face);
    }

    public function getFace()
    {
        return $this->face;
    }

    public function setSize($_size)
    {
        $this->size=(string)$_size;
        $this->setAttributeValue('size', $_size);
    }
}
?>
